package com.starlink.model.request.save;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * @author zhanghong
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel("书籍信息请求模型")
public class MallBooksSaveRequest implements Serializable {
    @ApiModelProperty("书籍id")
    private Long id;
    @ApiModelProperty("RAS商品ID")
    private Long rasGoodsId;
    @ApiModelProperty("运费模板ID")
    private Long freeTemplateId;
    @ApiModelProperty("书籍分类ID")
    private List<Long> categoryIds;
    @ApiModelProperty("书名")
    private String title;
    @ApiModelProperty("作者")
    private String author;
    @ApiModelProperty("出版社")
    private String publishingHouse;
    @ApiModelProperty("书籍封面")
    private String picture;
    @ApiModelProperty("是否上架 0否 1是")
    private Integer onTheShelf;
    @ApiModelProperty("排序")
    private Long sortOrder;
    @ApiModelProperty("ISBN编码")
    private String isbnNum;
}
